//
//  SISSLoginNetworkingManager+Progress.h
//  SISSAPP
//
//  Created by 优房网 on 2017/6/8.
//  Copyright © 2017年 优房网. All rights reserved.
//

#import "SISSLoginNetworkingManager.h"
#import "SISSHouseProgressModel.h"
#import "SISSPassengerProgressModel.h"
#import "SISSHouseCoopProgressModel.h"
#import "SISSPassengerCoopProgressModel.h"
#import "SISSRentOutProgressModel.h"
#import "SISSTenantProgressModel.h"

@interface SISSLoginNetworkingManager (Progress)


/**
 4.1.1 筛选房源进度

 @param paramters 筛选请求参数
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestFilterHouseProgressWithParameters:(NSDictionary *)paramters success:(void(^)(NSArray<SISSHouseProgressModel *> *houseArr))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 4.1.2 筛选/获取客源业务进度
 
 @param paramters 筛选请求参数
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestFilterPassengerProgressWithParameters:(NSDictionary *)paramters success:(void(^)(NSArray<SISSPassengerProgressModel *> *passengerArr))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 4.1.3 筛选/获取房源合作业务进度
 
 @param paramters 筛选请求参数
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestFilterHouseCooperationProgressWithParameters:(NSDictionary *)paramters success:(void(^)(NSArray<SISSHouseCoopProgressModel *> *houseCooperationArr))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 4.1.4 筛选/获取客源合作业务进度
 
 @param paramters 筛选请求参数
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestFilterPassengerCooperationProgressWithParameters:(NSDictionary *)paramters success:(void(^)(NSArray<SISSPassengerCoopProgressModel *> *passengerCooperationArr))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 4.18 插入合作协议草稿
 
 @param parameters 参数
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)insertCooperationAgreementDraftWithParameters:(NSDictionary *)parameters success:(void(^)(id responseObject))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 4.24.1  插入卖家委托合同草稿
 
 @param parameters 参数
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)insertSellerCommissionContractDraftWithParameters:(NSDictionary *)parameters success:(void(^)(id responseObject))successBlock failed:(void(^)(NSError *error))failedBlock;


/**
 4.30.1  插入买家委托合同草稿
 
 @param parameters 参数
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)insertBuyerCommissionContractDraftWithParameters:(NSDictionary *)parameters success:(void(^)(id responseObject))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 4.33.1 插入居间服务合同草稿
 
 @param parameters 参数
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)insertIntermediaryContractDraftWithParameters:(NSDictionary *)parameters success:(void(^)(id responseObject))successBlock failed:(void(^)(NSError *error))failedBlock;

#pragma mark - 2.0

/**
 4.1.5 筛选出租进度
 
 @param paramters 筛选请求参数
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestFilterRentOutProgressWithParameters:(NSDictionary *)paramters success:(void(^)(NSArray<SISSRentOutProgressModel *> *rentOutArr))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 4.1.6 筛选租房进度
 
 @param paramters 筛选请求参数
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestFilterTenantProgressWithParameters:(NSDictionary *)paramters success:(void(^)(NSArray<SISSTenantProgressModel *> *tenantArr))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 4.40.1 插入出租委托协议草稿
 
 @param parameters 参数
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)insertRentOutCommissionContractDraftWithParameters:(NSDictionary *)parameters success:(void(^)(id responseObject))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 4.41.1 插入租客委托协议草稿
 
 @param parameters 参数
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)insertTenantCommissionContractDraftWithParameters:(NSDictionary *)parameters success:(void(^)(id responseObject))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 4.44.2 插入租赁合同草稿
 
 @param parameters 参数
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)insertLeaseContractDraftWithParameters:(NSDictionary *)parameters success:(void(^)(id responseObject))successBlock failed:(void(^)(NSError *error))failedBlock;

@end
